<h1>Listing days</h1>

<table>
  <tr>
  </tr>

<% @days.each do |day| %>
  <tr>
    <td><%= link_to 'Show', day %></td>
    <td><%= link_to 'Edit', edit_day_path(day) %></td>
    <td><%= link_to 'Destroy', day, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New day', new_day_path %>
<ul id='list' class='forum'>
	<li>2-12323</li>
	<li>3-23423</li>
	<li>4-23434</li>
	<li>5-64245</li>
	<li>6-23468</li>
	<li>7-13041</li>
</ul>
<%= sortable_element('list', :url => {:action => :update_positions}) %>
